import request from '@/utils/request'

// 获取今日计划完成率
export function selectPlanCompletionRate() {
  return request({
    url: '/ldzl-qc/home/selectPlanCompletionRate',
    method: 'get'
  })
}

// 获取当前在制钢卷数量
export function selectSteelCoil() {
  return request({
    url: '/ldzl-qc/home/selectSteelCoil',
    method: 'get'
  })
}

// 获取今日质量异常数
export function selectAbnormalNumber() {
  return request({
    url: '/ldzl-qc/home/selectAbnormalNumber',
    method: 'get'
  })
}

// 获取生产订单跟踪数据
export function selectProductionProductTracking() {
  return request({
    url: '/ldzl-qc/home/selectProductionProductTracking',
    method: 'get'
  })
}

// 获取工作中的设备数
export function selectSbEquipmentEnable() {
  return request({
    url: '/ldzl-qc/home/selectSbEquipmentEnable',
    method: 'get'
  })
}
// 折线图
export function LineChart() {
  return request({
    url: '/ldzl-qc/home/LineChart',
    method: 'get'
  })
}// 饼图
export function PieChart() {
  return request({
    url: '/ldzl-qc/home/PieChart',
    method: 'get'
  })
}
